geary: Specify location of iso-codes xml files
PATCH 1/1 geary: Specify location of iso-codes xml files
During cross-compiling it needs to know the location of staging area where these files are installed in RSS
--- meta-gnome/recipes-connectivity/geary/geary_46.0.bb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
meta-gnome/recipes-connectivity/geary/geary_46.0.bb +4 -1
@@ -47,7 +47,10 @@ ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}" REQUIRED_DISTRO_FEATURES = "gobject-introspection-data opengl" GIR_MESON_OPTION = "" -EXTRA_OEMESON = "-Dprofile=release" +EXTRA_OEMESON = "-Dprofile=release \ + -Diso_639_xml=${STAGING_DATADIR}/xml/iso-codes/iso_639.xml \ + -Diso_3166_xml=${STAGING_DATADIR}/xml/iso-codes/iso_3166.xml \ + " PACKAGECONFIG[libunwind] = "-Dlibunwind=enabled,-Dlibunwind=disabled,libunwind" PACKAGECONFIG[tnef] = "-Dtnef=enabled,-Dtnef=disabled,libytnef"
Hi Khem,
can your issue also be fixed like this?
-Diso_639_xml=${datadir}/xml/iso-codes/iso_639.xml \
-Diso_3166_xml=${datadir}/xml/iso-codes/iso_3166.xml \When I include STAGING_DATADIR, I see this error:
ERROR: geary-46.0-r0 do_package_qa: QA Issue: File /usr/lib/geary/libgeary-client-46.0.so in package geary contains reference to TMPDIR [buildpaths]
ERROR: geary-46.0-r0 do_package_qa: Fatal QA errors were found, failing task.
ERROR: Logfile of failure stored in: /home/flk/poky/build/tmp/work/corei7-64-poky-linux/geary/46.0/temp/log.do_package_qa.232522
ERROR: Task (/home/flk/poky/meta-openembedded/meta-gnome/recipes-connectivity/geary/geary_46.0.bb:do_package_qa) failed with exit code '1'
Quoted 36 lines · Khem Raj via lists.openembedded.org
During cross-compiling it needs to know the location of staging area where these files are installed in RSS
Signed-off-by Khem Raj <[email protected] <mailto:[email protected]>>--- meta-gnome/recipes-connectivity/geary/geary_46.0.bb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)meta-gnome/recipes-connectivity/geary/geary_46.0.bb +4
-3@@ -47,7 +47,10 @@ ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}" REQUIRED_DISTRO_FEATURES = "gobject-introspection-data opengl" GIR_MESON_OPTION = "" -EXTRA_OEMESON = "-Dprofile=release" +EXTRA_OEMESON = "-Dprofile=release \ + -Diso_639_xml=${STAGING_DATADIR}/xml/iso-codes/iso_639.xml \ + -Diso_3166_xml=${STAGING_DATADIR}/xml/iso-codes/iso_3166.xml \ + " PACKAGECONFIG[libunwind] ="-Dlibunwind=enabled,-Dlibunwind=disabled,libunwind"
PACKAGECONFIG[tnef] = "-Dtnef=enabled,-Dtnef=disabled,libytnef"-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#113963): <https://lists.openembedded.org/g/openembedded-devel/message/113963>
Mute This Topic: <https://lists.openembedded.org/mt/109700823/3618223>
Group Owner: [email protected] <mailto:[email protected]>
Unsubscribe: <https://lists.openembedded.org/g/openembedded-devel/unsub> [[email protected] <mailto:[email protected]>]
-=-=-=-=-=-=-=-=-=-=-=-
Quoted 6 lines · Markus Volk
Hi Khem,
can your issue also be fixed like this?-Diso_639_xml=${datadir}/xml/iso-codes/iso_639.xml \ -Diso_3166_xml=${datadir}/xml/iso-codes/iso_3166.xml \
thats not going to work in cross compile env.
Quoted 5 lines
When I include
STAGING_DATADIR, I see this error:
ERROR: geary-46.0-r0do_package_qa: QA Issue: File/usr/lib/geary/libgeary-client-46.0.soin package geary contains reference to TMPDIR [buildpaths]
ERROR: geary-46.0-r0do_package_qa: Fatal QA errors were found, failing task.
ERROR: Logfile of failure stored in:/home/flk/poky/build/tmp/work/corei7-64-poky-linux/geary/46.0/temp/log.do_package_qa.232522
ERROR: Task (/home/flk/poky/meta-openembedded/meta-gnome/recipes-connectivity/geary/geary_46.0.bb:do_package_qa) failed with exit code '1'
yeah I see this as well. Let me look into where it's getting added.
Quoted 5 lines · Khem Raj via lists.openembedded.org
During cross-compiling it needs to know the location of staging area where these files are installed in RSS Signed-off-by: Khem Raj <[email protected]> --- meta-gnome/recipes-connectivity/geary/geary_46.0.bb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/meta-gnome/recipes-connectivity/geary/geary_46.0.bb b/meta-gnome/recipes-connectivity/geary/geary_46.0.bb index
2ca27c4f36..6d6d9f5443100644 --- a/meta-gnome/recipes-connectivity/geary/geary_46.0.bb +++ b/meta-gnome/recipes-connectivity/geary/geary_46.0.bb @@ -47,7 +47,10 @@ANY_OF_DISTRO_FEATURES= "${GTK3DISTROFEATURES}"REQUIRED_DISTRO_FEATURES= "gobject-introspection-data opengl"GIR_MESON_OPTION= "" -EXTRA_OEMESON = "-Dprofile=release" +EXTRA_OEMESON = "-Dprofile=release \ + -Diso_639_xml=${STAGING_DATADIR}/xml/iso-codes/iso_639.xml \ + -Diso_3166_xml=${STAGING_DATADIR}/xml/iso-codes/iso_3166.xml \ + " PACKAGECONFIG[libunwind] = "-Dlibunwind=enabled,-Dlibunwind=disabled,libunwind" PACKAGECONFIG[tnef] = "-Dtnef=enabled,-Dtnef=disabled,libytnef" -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#113963): https://lists.openembedded.org/g/openembedded-devel/message/113963 Mute This Topic: https://lists.openembedded.org/mt/109700823/3618223 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-